package com.tupi.project.di.component;

import android.app.Activity;

import com.tupi.project.ui.activity.HttpActivity;
import com.tupi.project.ui.activity.MainActivity;
import com.tupi.project.di.module.ActivityModule;
import com.tupi.project.di.scope.ActivityScope;
import com.tupi.project.ui.activity.PermissionActivity;
import com.tupi.project.ui.activity.PullToRefreshActivity;
import com.tupi.project.ui.activity.RxBusActivity;

import dagger.Component;

/**
 * Created by codeest on 16/8/7.
 */

@ActivityScope
@Component(dependencies = AppComponent.class, modules = ActivityModule.class)
public interface ActivityComponent {

    Activity getActivity();

    void inject(MainActivity welcomeActivity);
    
    void inject(HttpActivity httpActivity);
    
    void inject(PermissionActivity permissionActivity);
    
    void inject(RxBusActivity rxBusActivity);
    
    void inject(PullToRefreshActivity pullToRefreshActivity);
}
